package org.glut.wechat.addresslist.service;


import com.baomidou.mybatisplus.extension.service.IService;
import org.glut.wechat.addresslist.entity.Request;
import org.glut.wechat.addresslist.vo.RequestVO;

import java.util.List;

/**
 * 申请添加好友表 服务类接口
 *
 * @author harry
 * @since 2025-08-21 20:25
 */

public interface IRequestService extends IService<Request> {
    // 关联申请人信息
    List<RequestVO> getNewRequests(Integer toUserId);

    // 同意申请
    boolean agreeRequest(Integer requestId);

    // 忽略申请
    boolean ignoreRequest(Integer requestId);
}
